package com.cruise.system.userapi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
/**
 * <p>
 * 角色权限表
 * </p>
 *
 * @author 彭闯
 * @since 2021-01-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role_resource")
public class SysRoleResource implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 角色id
     */
    @TableField("role_id")
    private String roleId;
    /**
     * 资源id
     */
    @TableField("resource_id")
    private String resourceId;
}

